<?
	if ($p = (int)param('node'))
		if ($temp = datafetch('db_item', tb('struct'), "id=$p")) {
			
			$temp['tag'] = $DATA['page']['tag'];	// get an access level from the initial page
			$DATA['page'] = $temp;
			if ($t = datafetch('meta', D_PAGENAMES, $p, context('lang'), 'name')) $DATA['page']['name'] = $t;

/*			$t = end(array_keys($DATA['crumb']));
			$p = $DATA['crumb'][$t]['path'];
			$DATA['crumb'][$t]['path'] = _transformURL($CURRENT->url, array('remove_param' => 'node'));

			$DATA['crumb'][] = array('name' => $DATA['page']['name'], 'path' => $p);
			$DATA['crumb'] = array_mark_bounds($DATA['crumb']);
*/			return $temp['admin'];
		}

	return false;		
?>